package info.yihua.codelab.motan.demo.exception;

/**
 * Created by Jonathan on 16/7/13.
 */
public class MotanDemoException extends Exception {

    private int errCode;

    public MotanDemoException(int errCode, String msg) {
        super(msg);
        this.errCode = errCode;
    }

    public int getErrCode() {
        return errCode;
    }

    public void setErrCode(int errCode) {
        this.errCode = errCode;
    }
}
